Explore Our HTML & CSS Quick Reference Guide

Here is a comprehensive list of commonly used HTML and CSS tags, along with brief explanations of their purposes and usage. Explore the tabs to switch between HTML and CSS references, and use the search bar to quickly find the elements you need.

HTML
CSS
Tag Description
<p > Defines a paragraph of text.
<a > Creates a hyperlink to another webpage or resource
<img > Embeds an image in the web page.
<ul > Creates an unordered (bulleted) list with list items.
<ol > Creates an ordered (numbered) list with list items.
<h1 > to < h6 > Defines different levels of headings, with <h1 > being the highest and <h6 > being the lowest..
<div > Creates a division or a container to group content for styling and layout purposes.
<br > Inserts a line break within text content.
<table > <tr > < td > Creates a table structure with rows and cells.
<span > Defines a small portion of text that can be styled independently from the surrounding text.
< button > Creates a clickable button that can trigger actions, like submitting a form or executing JavaScript functions..
<audio > Embeds audio content, allowing you to play audio files on your web page.
<video > Embeds video content, allowing you to display and play video files on your web page..
color Specifies the color of the text content.
font-size Sets the size of the font used for text content.
font-family Specifies the font family or typeface for text content.
background-color Sets the background color of an element.
margin Controls the space outside an element's border.
padding Controls the space inside an element's border.
border Defines the properties of an element's border.
width Sets the width of an element.
height Sets the height of an element.
display Determines how an element is displayed, such as block, inline, or inline-block.
text-align Aligns the text content within an element.
border-radius Creates rounded corners on an element's border.
box-shadow Adds a shadow effect to an element.